package com.learn.SingleTon;

/**
 * 饿汉式
 *
 */
public class Hungry {

    private Hungry hungry = new Hungry();

    private Hungry() {}

    public Hungry getHungrySingleTon(){
        return hungry;
    }
}
